<template>
  <div>



<script>
import {Tabbar, Toast} from 'vant';
export default {
  data() {
    return {
      active: 0,
    }
  },
}





  methods: {
    onClickLeft() {
      Toast('返回');
    },
     onClickLeft() {
      Toast('按钮');
     },

  }

<van-Tabbar v-model= 'active'>
  <van-tag type="primary">标签</van-tag>
  <van-tag type="success">标签</van-tag>
  <van-tag type="danger">标签</van-tag>
  <van-tag type="warning">标签</van-tag>
</van-tabbar>


 
    </div>
</template>



</script>

<style>

</style>
